package com.tao.content.domain.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 修改或添加教学计划DTO
 * </p>
 *
 * @author taohongrun
 * @since 2024/11/5
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "修改或添加教学计划DTO")
public class SaveOrUpdateTeachPlanDto {
    @Schema(description = "课程计划id")
    private Long id;

    @Schema(description = "课程计划名称")
    private String pname;

    @Schema(description = "课程计划父级Id")
    private Long parentid;


    @Schema(description = "层级，分为1、2、3级",allowableValues = {"1,2"})
    private Integer grade;

    @Schema(description = "课程类型")
    private String mediaType;

    @Schema(description = "课程标识", example = "27" , requiredMode = Schema.RequiredMode.REQUIRED)
    private Long courseId;

    @Schema(description = "课程发布标识")
    private Long coursePubId;

    @Schema(description = "是否支持试学或预览（试看）")
    private String isPreview;

}
